package com.carbonspark.auth.domain.convert;

import com.carbonspark.auth.domain.entity.AuthRoleBO;
import com.carbonspark.auth.infrt.basic.entity.AuthRole;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * 角色BO转换其
 */

@Mapper
public interface AuthRoleBOConverter {
    AuthRoleBOConverter INSTANCE = Mappers.getMapper(AuthRoleBOConverter.class);
    AuthRole convertBOToEntity(AuthRoleBO authRoleBO);
}
